           	function fun1(){
				var img = document.createElement("img");
				var imgName = prompt("请输入图片名");
				img.setAttribute("src","../img/" + imgName +".jpg");
				p1.appendChild(img);
			}
			function fun2(){
				var pic = document.getElementsByTagName("img");
				p1.removeChild(pic[0]);
			}
			function fun3(){
				var pic = document.getElementsByTagName("img");
				p1.removeChild(pic[2]);
			}
			function fun4(){
				var pic = document.getElementsByTagName("img");
				var img = document.createElement("img");
				var imgName = prompt("请输入图片名");
				img.setAttribute("src","../img/" + imgName +".jpg");
				p1.insertBefore(img , pic[1]);
				
			}
			function fun5(){
				var pic = document.getElementsByTagName("img");
				var img = document.createElement("img");
				var imgName = prompt("请输入图片名");
				img.setAttribute("src","../img/" + imgName +".jpg");
				img.cloneNode(true);
				p1.replaceChild(img , pic[1]);
			}
			function fun6(){
				var pic = document.getElementsByTagName("img");
				var img = pic[pic.length - 1].cloneNode(true);
				p1.replaceChild(img , pic[0]);
			}